<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<script language="javascript">
	function printdiv(printpage) {
		var headstr = "<html><head><title></title></head><body>";
		var footstr = "</body>";
		var newstr = document.all.item(printpage).innerHTML;
		var oldstr = document.body.innerHTML;
		document.body.innerHTML = headstr + newstr + footstr;
		window.print();
		document.body.innerHTML = oldstr;
		return false;
	}
</script>
<style type="text/css">
table.gridtable {
	font-family: verdana, arial, sans-serif;
	font-size: 11px;
	color: #333333;
	border-width: 1px;
	border-color: #666666;
	border-collapse: collapse;
}

table.gridtable th {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #666666;
	background-color: #dedede;
	text-align: left;
}

table.gridtable td {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #666666;
	background-color: #ffffff;
}
</style>
<title>[打印]评教结果</title>
</head>

<body>
	<input name="b_print" type="button" class="ipt" onClick="printdiv('div_print');" value=" 打印数据 ">
	<div id="div_print" style="width: 800px">
	<h5>评教结果</h5>
		<table class="gridtable" style="margin-left: 00px;width: 100%">
			<tr>
				<th>账号</th>
				<th>姓名</th>
				<th>性别</th>
				<th>所在系部</th>
				<th>评分人次</th>
				<th>总分</th>
				<th>排名</th>
			</tr>
			<c:forEach items="${list }" var="item" varStatus="vsitem">
				<tr>
					<td>${item.uname}</td>
					<td>${item.userName}</td>
					<td>${item.userGender}</td>
					<td>${item.spec.name}</td>
					<td>${item.ren}</td>
					<td>${item.score}- ${item.scoreType }</td>
					<td>${vsitem.count}</td>
				</tr>
			</c:forEach>

		</table>
	</div>
</body>

</html>








